package com.xzc.shopping.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xzc.shopping.common.BaseResponse;
import com.xzc.shopping.model.result.ThumbResult;
import com.xzc.shopping.model.domain.Thumb;
import org.springframework.stereotype.Service;

/**
* @author Administrator
* @description 针对表【thumb】的数据库操作Service
* @createDate 2025-02-26 11:03:25
*/
@Service
public interface ThumbService extends IService<Thumb> {
 BaseResponse<ThumbResult> toggleThumb(Integer userId, Integer productId);

    boolean existsByUserIdAndProductId(Integer userId, Integer productId);
}
